Answer:

8

The rule for parentheses is that what is inside parentheses is calculated first. In (12 - 6 + 2) everything is inside parentheses, so the parentheses don't have any effect. But they don't hurt anything.

Nested Parenthesis

When there are sets of parentheses inside parentheses the innermost set of parentheses is calculated first. The innermost set of parentheses are nested within the outer set. For example:

( 5 *  (1 + 2)  ) / 3  =  ( 5 * 3 ) / 3  =  15 / 3 = 5
       -------            ---------
      innermost            do next
      so do first

QUESTION 19:

What will the following program print to the screen:

PRINT (4 * (10 - 7)) / 6